<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Include</title>
</head>

<body>
    <div data-ng-app="myApp" data-ng-controller="myCtrl">
        <div data-ng-include="'title.html'"></div>
        <div data-ng-include="'sites.html'"></div>
        <!-- 貌似这个例子的服务器端文件没有允许跨域访问，因此include失败 -->
<!--        <div data-ng-include="'http://c.runoob.com/runoobtest/angular_include.php'"></div>-->
    </div>
    <script src="../node_modules/angular/angular.min.js"></script>
    <script src="include.js"></script>
</body>

</html>
